package com.example.onenetdht11.entity;

public class User {

    private String id;
    private String name;
    private String username;
    private String password;
    private int age;
    private String sex;
    private String idcard;
    private String email;
    private String province;
    private String county;

    public User(String id, String name, String username, String password, int age, String sex, String idcard, String email, String province, String county, String city, String maxtmp, String mintmp) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.password = password;
        this.age = age;
        this.sex = sex;
        this.idcard = idcard;
        this.email = email;
        this.province = province;
        this.county = county;
        this.city = city;
        this.maxtmp = maxtmp;
        this.mintmp = mintmp;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", idcard='" + idcard + '\'' +
                ", email='" + email + '\'' +
                ", province='" + province + '\'' +
                ", county='" + county + '\'' +
                ", city='" + city + '\'' +
                ", maxtmp='" + maxtmp + '\'' +
                ", mintmp='" + mintmp + '\'' +
                '}';
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    private String city;
    private String maxtmp;
    private String mintmp;


    public User() {
    }

    public User(String id, String name, String username, String password, int age, String sex, String idcard,
                String email, String mintmp, String maxtmp) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.password = password;
        this.age = age;
        this.sex = sex;
        this.idcard = idcard;
        this.email = email;
        this.maxtmp = maxtmp;
        this.mintmp = mintmp;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getMaxtmp() {
        return maxtmp;
    }

    public void setMaxtmp(String maxtmp) {
        this.maxtmp = maxtmp;
    }

    public String getMintmp() {
        return mintmp;
    }

    public void setMintmp(String mintmp) {
        this.mintmp = mintmp;
    }

}

